package com.meiyu.live.net.response;

import com.google.gson.annotations.SerializedName;

/**
 * Created by LI on 2016/8/22.
 */
public class UploadResponse {
    String filepath;
    String msg;
    int code;
    int position;
    Upresult hash;
    int type;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getFilepath() {
        return filepath;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public class Upresult {
        @SerializedName("StatusCode")
        int statusCode;
        @SerializedName("AvatarUrl")
        String avatar_url;
        @SerializedName("Id")
        long id;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public int getStatusCode() {
            return statusCode;
        }

        public void setStatusCode(int statusCode) {
            this.statusCode = statusCode;
        }

        public String getAvatar_url() {
            return avatar_url;
        }

        public void setAvatar_url(String avatar_url) {
            this.avatar_url = avatar_url;
        }
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Upresult getHash() {
        return hash;
    }

    public void setHash(Upresult hash) {
        this.hash = hash;
    }
}
